package com.hm.ibsm.util;

/**
 * @author shishun.wang
 * @date 下午11:56:40 2017年1月31日
 * @version 1.0
 * @describe
 */
public interface R {
	
	public static String CURRENT_USER_LOGIN_SESSION = "CURRENT_USER_LOGIN_SESSION";

	public String BASE_PACKAGE = "com.hm.ibsm";

	public String VERSION = "1.0";

	public String API_TITLE = "用户角色菜单权限管理api组件,除登陆外,其他接口请求需要设置请求头,[Authorization:tokenId,AuthorToken:登陆成功返回的授权私钥]";

	public String DESCRIBE = "更多api信息,请联系系统管理员";

	public String API_CONTACT_EMAIL = "cd_shishun156@163.com";

	public String WEBSITE = "http://template.com";

	public interface ReqAuthKeyDef {

		public String AUTHORIZATION = "Authorization";

		public String AUTHOR_TOKEN = "AuthorToken";
	}

	public interface API {

		public String PREFIX = "/rest/ibsm";

		public String VERSION = "/v1.0";

		public String MODULE_NAME = PREFIX + "/mg" + VERSION;

	}

	public interface DB {

		public String PREFIX = "IM_";

		public static final String DEFAULT_SORT = "createAt";

		public static final String DATA_STATUS = "status";

	}

	public interface RedisConfig {

		public String PREFIX = "IBSM:MG:";

		public String REQUEST_LOCK = PREFIX + "REQUEST:LOCK";
	}
}
